package cn.edu.scau.cmi.pengzhijie.hibenate.domain;

import java.io.Serializable;

public class Student implements Serializable{
	public Student() {
		
	}
	private int id;
	private int number;

	private Teacher teacher;
	private String name;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Teacher getTeacher() {
		return teacher;
	}
	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
}
